﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once
#include "GcmpGeometryInterface.h"

namespace gcmp
{
    /*!
    * @brief    Mesh容差类
    */
    class GCMP_GEOMETRY_INTERFACE_EXPORT MeshTolerance
    {
    public:
        /*!
        * @brief    查询距离容差
        * @return   距离容差
        */
        static double GetDistTol();
        /*!
        * @brief      设置距离容差
        * @param[in]      tol  距离容差
        */
        static void SetDistTol(double tol);
        /*!
        * @brief    查询角度容差
        * @return   角度容差
        */
        static double GetAngleTol();
        /*!
        * @brief      设置角度容差
        * @param[in]      tol  角度容差
        */
        static void SetAngleTol(double tol);
    };
}
